home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PLongCommand.h -------------------------------------------
- * Copyright (c) 1995 Adobe Systems, Inc. All rights reserved.
- * Created on Thu, Oct 12, 1995 @ 10:53 PM by Paul Ferguson.
- *
- * Description:
- *--------------------------------------------------------------
- */
- #ifndef __PLongCommand__
- #define __PLongCommand__
-
- #ifndef __PCommand__
- #include "PCommand.h"
- #endif
-
- template <ePMCommand COMMAND>
- class PLongCommand
- {
-
- public:
-
- PLongCommand(long theLong) { PCommand command(COMMAND, theLong); }
-
- private:
-
- PLongCommand();
- };
-
- typedef PLongCommand<pm_changeenv> PChangeEnv;
- typedef PLongCommand<pm_cropimageatframe> PCropImageAtFrame;
- typedef PLongCommand<pm_deletehoriz> PDeleteHoriz;
- typedef PLongCommand<pm_deletevert> PDeleteVert;
- typedef PLongCommand<pm_guidehoriz> PGuideHoriz;
- typedef PLongCommand<pm_guidevert> PGuideVert;
- typedef PLongCommand<pm_mask> PMask;
- typedef PLongCommand<pm_openstory> POpenStory; // should be unsigned long
- typedef PLongCommand<pm_selectid> PSelectID;
- typedef PLongCommand<pm_selectidextend> PSelectIDExtend;
- typedef PLongCommand<pm_unselectid> PUnselectID;
-
- #endif
-
- // end of PLongCommand.h
-